package com.transaction.demo.message.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 描述：
 * 作者：马庆智
 * 日期：2023/04/26 10:29:01
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("请求listVo")
public class TransactionMessageListReqVo implements Serializable {

	@ApiModelProperty("当前页")
	@NotNull(message = "current当前页不能为空")
	@Min(value = 1, message = "current当前页不能小于1")
	private int current;

	@ApiModelProperty("每页的数量")
	@NotNull(message = "pageSize每页的数量不能为空")
	private int pageSize;

	@ApiModelProperty("消息ID")
	private String messageId;

	@ApiModelProperty("消费队列")
	private String consumerQueue;

	@ApiModelProperty("是否死亡")
	private String areadlyDead;

	@ApiModelProperty("状态")
	private String status;

}